<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>demo</title>
<script type="text/javaScript" src="config.js"></script>
<script type="text/javaScript" src="jquery.min.js"></script>
<script type="text/javaScript" src="common.js"></script>
<script type="text/javascript" src="validator.js"></script>
</head>

<body>

<form name="myform" method="post" action="">
<table cellpadding="0" cellspacing="1" class="table_form">
  <caption>修改地区</caption>
  <tr>
  <th><strong>所属地区</strong></th>
  <td>
<select name='info[parentid]' id='info[parentid]' >
<option value='0'>无（作为一级地区）</option>
<option value='3' >fasdfzzzzzzzzzzzz</option>
<option value='4' >asdf</option>
<option value='5' >adsf</option>
<option value='2' selected>&nbsp;└上海</option>
<option value='1' >&nbsp;&nbsp;└北京</option>
</select>
  </td>
  </tr>
    <tr>
      <th><strong>地区名称</strong></th>
      <td><input name='info[name]' type='text' id='name' size='40' maxlength='50' require="true" datatype="limit" min="1" max="50"msg="字符长度范围必须为1到50位"  value=''>  <font color="red">*</font></td>
    </tr>
    <tr>
      <th><strong>地区英文名</strong><br/>名称只能为字母、数字、下划线，中划线</th>
      <td><input name='info[dir]' type='text' id='dir' size='20' maxlength='50' require="false" datatype="limit|ajax" min="1" max="50" url="?module=area&action=checkdir&parentid=<?=$parentid?>" msg="字符长度范围必须为1到50位|" value=''></td>
    </tr>
	<!--<tr>
      <th><strong>地区首页模板</strong></th>
      <td><?=form::select_template('default', 'info[template]', 'template', $template, '', 'area')?></td>
    </tr>-->
	<tr>
      <th></th>
      <td><input type="submit" name="dosubmit" value=" 确定 ">&nbsp;&nbsp;&nbsp;&nbsp;<input type="reset" name="reset" value=" 重置 "></td>
    </tr>
</table>
</form>

<script LANGUAGE="javascript">
<!--
$().ready(function() {
	 $('form').checkForm(1);
	});
//-->
</script>


</body>
</html>
